//add client specific stuff if needed
$(document).ready(function () {
	
	initDeviceSpecific();
	
	hideAddressBar();
	
});

function initDeviceSpecific() {
	var ua = navigator.userAgent.toLowerCase();
	if(ua.indexOf("ipad") > -1) {
		//alert("ipad client detected");
	} else if (ua.indexOf("iphone") > -1 || ua.indexOf("ipod") > -1) {
		//alert("iphone/ipod client detected");
	} else if (ua.indexOf("android") > -1) {
		//alert("android client detected");
	}
}

function hideAddressBar() {
	window.scrollTo(0,1);
}